package cn.iocoder.yudao.module.handguard.controller.app.applicationrecord.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
 * @author: liuweijun
 * @since: 2023/11/13 13:27
 * @description:
 */
@Data
public class ApplyRecordPageReqVO extends PageParam {

    @Schema(description = "姓名", example = "559")
    private String name;

    @Schema(description = "手机号", example = "559")
    private String mobile;

    @Schema(description = "申请状态，0：失败，1：待跟进，2跟进中，3已完成")
    private String applyState;

    @Schema(description = "审核流程：1完善资料、2下放额度、3申请贷款、4业务员处理、5权证处理 6.资料审核、7.银行面签填贷款申请表、8.考察抵押物和经营场所、9.银行出批复10.银行面签抵押合同和借款合同、11.办理抵押、12.办公证、13.放款")
    private String flowN;

    private Integer roleCode;

    private List<String> agentUserList;

    private List<String> warrantUserList;

    @Schema(description = "申请时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] applyTime;

    /**
     * 申请时间-开始
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date startDate;

    /**
     * 申请时间-结束
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endDate;

}
